package cn.clx.ymcc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * search服务不用连接数据，但是导入了一个公共的依赖，所以加上exclude = { DataSourceAutoConfiguration.class}
 * 排除自动装配数据库，就能启动了
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class})
public class SearchStart {

    public static void main(String[] args) {
        SpringApplication.run(SearchStart.class);
    }
}